package com.qf.service;

import com.qf.pojo.Address;

import java.util.List;

public interface AddressService {

      List<Address> listAll(Integer uid);

     int addOne(Address address);

    //清除掉原来的默认地址
     int clearDefault(Integer uid);

     //设置新的默认地址
    int setDefault(Integer uid, Integer aid);

    Address selectOne(Integer aid);
}
